<template>
	<view class="input">
		<input class="inp" type="text" placeholder="搜索" @click="goSearch()" />
	</view>
</template>

<script>
	export default{
		methods:{
			goSearch(){
				uni.navigateTo({
					url:'../../pages/search/search'
				})
			}
		}
	}
</script>

<style scoped>
	.input{
		background-color: #007AFF;
		width: 100%;
		background-color: #FFFFFF;
		height: 80rpx;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.inp{
		text-align: center;
		width:90% ;
		height: 60rpx;
		border-radius: 10rpx;
		background-color: #ebebeb;
	}
</style>
